// /** When your routing table is too long, you can split it into small modules **/

// import Layout from '@/layout'

// const nestedRouter = {
//   level: 1,
//   path: '/tellme',
//   component: Layout,
//   redirect: '/nested/menu1/menu1-1',
//   name: 'Nested',
//   meta: {
//     title: '联系我们',
//     icon: 'nested'
//   },
//   children: [
//     {
//       path: '?id=1a',
//       component: () => import('@/views/nested/menu1/index'), // Parent router-view
//       name: '1',
//       meta: { title: '类型1' },
//       redirect: '/nested/menu1/menu1-1'
//     },
//     {
//       path: 'menu2',
//       name: 'Menu2',
//       component: () => import('@/views/nested/menu2/index'),
//       meta: { title: '类型2' }
//     }
//   ]
// }

// export default nestedRouter

/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tellmeRoute = {
  level: 1,
  path: '/tellme',
  component: Layout,
  redirect: '/tellme',
  name: 'tellme',
  alwaysShow: true,
  canadd: true,
  meta: {
    title: '新闻中心',
    icon: 'nested'
  },
  children: [
    {
      path: 'tellme1',
      name: 'tellme1',
      component: () => import('@/views/tellme/detail'), // Parent router-view
      meta: { title: '类型1' },
      roles: ['admin'] // or you can only set roles in sub nav
    }
  ]
}

export default tellmeRoute

